<!doctype html>



  


<html class="theme-next muse use-motion">
<head>
  <meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>



<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />












  
  
  <link href="/lib/fancybox/source/jquery.fancybox.css?v=2.1.5" rel="stylesheet" type="text/css" />




  
  
  
  

  
    
    
  

  

  

  
    
      
    

    
  

  

  
    
    
    <link href="//fonts.googleapis.com/css?family=Microsoft YaHei:300,300italic,400,400italic,700,700italic|consolas:300,300italic,400,400italic,700,700italic&subset=latin,latin-ext" rel="stylesheet" type="text/css">
  






<link href="/lib/font-awesome/css/font-awesome.min.css?v=4.4.0" rel="stylesheet" type="text/css" />

<link href="/css/main.css?v=5.0.2" rel="stylesheet" type="text/css" />


  <meta name="keywords" content="js," />








  <link rel="shortcut icon" type="image/x-icon" href="http://ofy7k3v4s.bkt.clouddn.com/mylogo.png?v=5.0.2" />






<meta name="description" content="javaScript&amp;#x7684;&amp;#x51E0;&amp;#x4E2A;&amp;#x5185;&amp;#x7F6E;&amp;#x5BF9;&amp;#x8C61;Date&amp;#x5BF9;&amp;#x8C61;ECMAScript 5 &amp;#x63D0;&amp;#x4F9B;&amp;#x4E86;&amp;#x4E24;&amp;#x4E2A;&amp;#x65B9;&amp;#x6CD5;&amp;#xFF1A;Date.parase() &amp;#x548C; Date.UTC() &amp;#x">
<meta property="og:type" content="article">
<meta property="og:title" content="js Date、Math、包装对象、RegExp">
<meta property="og:url" content="https://hongqinma.github.io/2014/04/06/js-Date、Math、包装对象、RegExp/index.html">
<meta property="og:site_name" content="HongqinMa' Blog">
<meta property="og:description" content="javaScript&amp;#x7684;&amp;#x51E0;&amp;#x4E2A;&amp;#x5185;&amp;#x7F6E;&amp;#x5BF9;&amp;#x8C61;Date&amp;#x5BF9;&amp;#x8C61;ECMAScript 5 &amp;#x63D0;&amp;#x4F9B;&amp;#x4E86;&amp;#x4E24;&amp;#x4E2A;&amp;#x65B9;&amp;#x6CD5;&amp;#xFF1A;Date.parase() &amp;#x548C; Date.UTC() &amp;#x">
<meta property="og:updated_time" content="2016-11-07T15:03:48.039Z">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="js Date、Math、包装对象、RegExp">
<meta name="twitter:description" content="javaScript&amp;#x7684;&amp;#x51E0;&amp;#x4E2A;&amp;#x5185;&amp;#x7F6E;&amp;#x5BF9;&amp;#x8C61;Date&amp;#x5BF9;&amp;#x8C61;ECMAScript 5 &amp;#x63D0;&amp;#x4F9B;&amp;#x4E86;&amp;#x4E24;&amp;#x4E2A;&amp;#x65B9;&amp;#x6CD5;&amp;#xFF1A;Date.parase() &amp;#x548C; Date.UTC() &amp;#x">



<script type="text/javascript" id="hexo.configuration">
  var NexT = window.NexT || {};
  var CONFIG = {
    scheme: 'Muse',
    sidebar: {"position":"left","display":"post"},
    fancybox: true,
    motion: true,
    duoshuo: {
      userId: '6347850919329138000',
      author: 'Hiraku'
    }
  };
</script>




  <link rel="canonical" href="https://hongqinma.github.io/2014/04/06/js-Date、Math、包装对象、RegExp/"/>


  <title> js Date、Math、包装对象、RegExp | HongqinMa' Blog </title>
</head>

<body itemscope itemtype="//schema.org/WebPage" lang="en">

  



  <script type="text/javascript">
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?10010323";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>








  
  
    
  

  <div class="container one-collumn sidebar-position-left page-post-detail ">
    <div class="headband"></div>

    <header id="header" class="header" itemscope itemtype="//schema.org/WPHeader">
      <div class="header-inner"><div class="site-meta custom-logo">
  
    <div class="site-meta-headline">
      <a>
        <img class="custom-logo-image" src="http://ofy7k3v4s.bkt.clouddn.com/photo.jpg"
             alt="HongqinMa' Blog"/>
      </a>
    </div>
  

  <div class="custom-logo-site-title">
    <a href="/"  class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <span class="site-title">HongqinMa' Blog</span>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>
  <p class="site-subtitle">Spell at all costs， to rush you in the future。</p>
</div>

<div class="site-nav-toggle">
  <button>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
    <span class="btn-bar"></span>
  </button>
</div>

<nav class="site-nav">
  

  
    <ul id="menu" class="menu">
      
        
        <li class="menu-item menu-item-home">
          <a href="/" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-home"></i> <br />
            
            Home
          </a>
        </li>
      
        
        <li class="menu-item menu-item-categories">
          <a href="/categories" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-th"></i> <br />
            
            Categories
          </a>
        </li>
      
        
        <li class="menu-item menu-item-archives">
          <a href="/archives" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-archive"></i> <br />
            
            Archives
          </a>
        </li>
      
        
        <li class="menu-item menu-item-tags">
          <a href="/tags" rel="section">
            
              <i class="menu-item-icon fa fa-fw fa-tags"></i> <br />
            
            Tags
          </a>
        </li>
      

      
    </ul>
  

  
</nav>

 </div>
    </header>

    <main id="main" class="main">
      <div class="main-inner">
        <div class="content-wrap">
          <div id="content" class="content">
            

  <div id="posts" class="posts-expand">
    

  
  

  
  
  

  <article class="post post-type-normal " itemscope itemtype="//schema.org/Article">

    
      <header class="post-header">

        
        
          <h1 class="post-title" itemprop="name headline">
            
            
              
                js Date、Math、包装对象、RegExp
              
            
          </h1>
        

        <div class="post-meta">
          <span class="post-time">
            <span class="post-meta-item-icon">
              <i class="fa fa-calendar-o"></i>
            </span>
            <span class="post-meta-item-text">Posted on</span>
            <time itemprop="dateCreated" datetime="2014-04-06T16:23:22+08:00" content="2014-04-06">
              2014-04-06
            </time>
          </span>

          
            <span class="post-category" >
              &nbsp; | &nbsp;
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">In</span>
              
                <span itemprop="about" itemscope itemtype="https://schema.org/Thing">
                  <a href="/categories/JavaScript/" itemprop="url" rel="index">
                    <span itemprop="name">JavaScript</span>
                  </a>
                </span>

                
                

              
            </span>
          

          
            
              <span class="post-comments-count">
                &nbsp; | &nbsp;
                <a href="/2014/04/06/js-Date、Math、包装对象、RegExp/#comments" itemprop="discussionUrl">
                  <span class="post-comments-count ds-thread-count" data-thread-key="2014/04/06/js-Date、Math、包装对象、RegExp/" itemprop="commentsCount"></span>
                </a>
              </span>
            
          

          

          
          
             <span id="/2014/04/06/js-Date、Math、包装对象、RegExp/" class="leancloud_visitors" data-flag-title="js Date、Math、包装对象、RegExp">
               &nbsp; | &nbsp;
               <span class="post-meta-item-icon">
                 <i class="fa fa-eye"></i>
               </span>
               <span class="post-meta-item-text">visitors </span>
               <span class="leancloud-visitors-count"></span>
              </span>
          

          
              &nbsp; | &nbsp;
              <span class="page-pv"><i class="fa fa-file-o"></i>
              <span class="busuanzi-value" id="busuanzi_value_page_pv" ></span>
              </span>
          

          
          <span id="busuanzi_container_page_pv">  <span id="busuanzi_value_page_pv"></span> Views</span>
          
        </div>
      </header>
    


    <div class="post-body" itemprop="articleBody">

      
      

      
        <h2 id="javaScript&#x7684;&#x51E0;&#x4E2A;&#x5185;&#x7F6E;&#x5BF9;&#x8C61;"><a href="#javaScript&#x7684;&#x51E0;&#x4E2A;&#x5185;&#x7F6E;&#x5BF9;&#x8C61;" class="headerlink" title="javaScript&#x7684;&#x51E0;&#x4E2A;&#x5185;&#x7F6E;&#x5BF9;&#x8C61;"></a>javaScript&#x7684;&#x51E0;&#x4E2A;&#x5185;&#x7F6E;&#x5BF9;&#x8C61;</h2><h2 id="Date&#x5BF9;&#x8C61;"><a href="#Date&#x5BF9;&#x8C61;" class="headerlink" title="Date&#x5BF9;&#x8C61;"></a>Date&#x5BF9;&#x8C61;</h2><p>ECMAScript 5 &#x63D0;&#x4F9B;&#x4E86;&#x4E24;&#x4E2A;&#x65B9;&#x6CD5;&#xFF1A;Date.parase() &#x548C; Date.UTC() &#x8FD4;&#x56DE;&#x65E5;&#x671F;&#x7684;&#x6BEB;&#x79D2;&#x6570;</p>
<figure class="highlight js"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div></pre></td><td class="code"><pre><div class="line"><span class="keyword">var</span> now = <span class="keyword">new</span> <span class="built_in">Date</span>();   <span class="comment">//&#x521B;&#x5EFA;&#x5BF9;&#x8C61;</span></div><div class="line">alert(<span class="built_in">Date</span>()); <span class="comment">//&#x8FD4;&#x56DE;&#x4E00;&#x4E2A;&#x5B8C;&#x6574;&#x7684;&#x65E5;&#x671F;&#x65F6;&#x95F4;</span></div><div class="line">alert(now.getDate()); <span class="comment">//&#x8FD4;&#x56DE;&#x4ECE;1&#x5F00;&#x59CB;&#x8BA1;&#x6570;&#x7684;&#x5929;&#x6570;</span></div><div class="line">alert(now.getDay()); <span class="comment">//&#x8FD4;&#x56DE;&#x5F53;&#x524D;&#x5468;&#x51E0;</span></div><div class="line">alert(now.getFullYear()); <span class="comment">//&#x8FD4;&#x56DE;&#x5F53;&#x524D;&#x5E74;&#x4EFD;</span></div><div class="line">alert(now.getMonth()+<span class="number">1</span>);  <span class="comment">//&#x8FD4;&#x56DE;&#x5F53;&#x524D;&#x6708;&#x4EFD;</span></div><div class="line">alert(now.getHours());  <span class="comment">//&#x5F53;&#x5730;&#x65F6;&#x95F4;&#x7684;&#x5C0F;&#x65F6;</span></div><div class="line"></div><div class="line"><span class="keyword">var</span> then = <span class="keyword">new</span> <span class="built_in">Date</span>(<span class="number">2011</span>, <span class="number">10</span>, <span class="number">10</span>);  <span class="comment">// 2011&#x5E74;10&#x6708;10&#x65E5;</span></div></pre></td></tr></table></figure>
<h3 id="&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;&#x65B9;&#x6CD5;"><a href="#&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;&#x65B9;&#x6CD5;" class="headerlink" title="&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;&#x65B9;&#x6CD5;"></a>&#x65E5;&#x671F;&#x683C;&#x5F0F;&#x5316;&#x65B9;&#x6CD5;</h3><ul>
<li>toDateString();</li>
<li>toTimeString();</li>
<li>toLocaleDateString();</li>
<li>toLocalTimeString();</li>
<li>toUTCString()</li>
</ul>
<h2 id="Math&#x5BF9;&#x8C61;"><a href="#Math&#x5BF9;&#x8C61;" class="headerlink" title="Math&#x5BF9;&#x8C61;"></a>Math&#x5BF9;&#x8C61;</h2><figure class="highlight js"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div><div class="line">9</div><div class="line">10</div><div class="line">11</div><div class="line">12</div><div class="line">13</div><div class="line">14</div><div class="line">15</div><div class="line">16</div><div class="line">17</div><div class="line">18</div></pre></td><td class="code"><pre><div class="line"><span class="comment">// &#x63A7;&#x5236;&#x53F0;&#x8F93;&#x51FA;</span></div><div class="line"><span class="built_in">Math</span>.max(<span class="number">1</span>,<span class="number">2</span>,<span class="number">3</span>,<span class="number">4</span>,<span class="number">5</span>);<span class="comment">//&#x8FD9;&#x4E9B;&#x6570;&#x5B57;&#x4E2D;&#x7684;&#x6700;&#x5927;&#x503C;</span></div><div class="line"><span class="built_in">Math</span>.min(<span class="number">1</span>,<span class="number">2</span>,<span class="number">3</span>,<span class="number">4</span>,<span class="number">5</span>);<span class="comment">//&#x8FD4;&#x56DE;&#x591A;&#x4E2A;&#x6570;&#x4E2D;&#x7684;&#x6700;&#x5C0F;&#x503C;</span></div><div class="line"><span class="built_in">Math</span>.floor(<span class="number">45.84334</span>);<span class="comment">//&#x5411;&#x4E0B;&#x53D6;&#x6574;</span></div><div class="line"><span class="built_in">Math</span>.ceil(<span class="number">5.4443</span>);<span class="comment">//&#x5411;&#x4E0A;&#x53D6;&#x6574;</span></div><div class="line"><span class="built_in">Math</span>.round(<span class="number">67.55</span>);<span class="comment">//&#x56DB;&#x820D;&#x4E94;&#x5165;</span></div><div class="line"><span class="built_in">Math</span>.random();<span class="comment">//&#x968F;&#x673A;&#x6570; 0-1 </span></div><div class="line"><span class="built_in">parseInt</span>(<span class="built_in">Math</span>.random()*<span class="number">10</span>+<span class="number">1</span>); <span class="comment">//&#x968F;&#x673A;&#x6570; 1-10</span></div><div class="line"><span class="built_in">parseInt</span>(<span class="built_in">Math</span>.random()*<span class="number">100</span>+<span class="number">1</span>); <span class="comment">//&#x968F;&#x673A;&#x6570; 1-100</span></div><div class="line"><span class="built_in">Math</span>.abs(<span class="number">-100</span>);<span class="comment">//&#x8FD4;&#x56DE;&#x7EDD;&#x5BF9;&#x503C;       </span></div><div class="line"><span class="built_in">Math</span>.pow(<span class="number">4</span>,<span class="number">3</span>); <span class="comment">//4 &#x7684; 3 &#x6B21;&#x5E42;  </span></div><div class="line"><span class="built_in">Math</span>.sqrt(<span class="number">16</span>); <span class="comment">//&#x5F00;&#x5E73;&#x65B9;</span></div><div class="line"><span class="built_in">Math</span>.sin(<span class="number">4</span>);<span class="comment">//&#x8FD4;&#x56DE;&#x6B63;&#x5F26;&#x503C;</span></div><div class="line"><span class="built_in">Math</span>.PI; <span class="comment">// &#x3C0; &#x5706;&#x5468;&#x7387;</span></div><div class="line"><span class="built_in">Math</span>.sqrt(<span class="number">3</span>); <span class="comment">// 3 &#x7684;&#x5E73;&#x65B9;&#x6839;</span></div><div class="line"><span class="built_in">Math</span>.exp(<span class="number">3</span>); <span class="comment">// e &#x7684; 3 &#x6B21;&#x5E42;</span></div><div class="line"><span class="built_in">Math</span>.log(<span class="number">10</span>); <span class="comment">// 10 &#x7684;&#x81EA;&#x7136;&#x5BF9;&#x6570;</span></div><div class="line"><span class="built_in">Math</span>.E; <span class="comment">// &#x81EA;&#x7136;&#x5BF9;&#x6570;&#x7684;&#x5E95;&#x6570;</span></div></pre></td></tr></table></figure>
<h2 id="&#x5168;&#x5C40;&#x5BF9;&#x8C61;"><a href="#&#x5168;&#x5C40;&#x5BF9;&#x8C61;" class="headerlink" title="&#x5168;&#x5C40;&#x5BF9;&#x8C61;"></a>&#x5168;&#x5C40;&#x5BF9;&#x8C61;</h2><p>&#x5F53; JavaScript &#x89E3;&#x91CA;&#x5668;&#x542F;&#x52A8;&#x65F6;&#xFF0C;&#x5B83;&#x5C06;&#x521B;&#x5EFA;&#x4E00;&#x4E2A;&#x65B0;&#x7684;&#x5168;&#x5C40;&#x5BF9;&#x8C61;&#xFF0C;&#x5E76;&#x7ED9;&#x5B83;&#x4E00;&#x7EC4;&#x5B9A;&#x4E49;&#x7684;&#x521D;&#x59CB;&#x5C5E;&#x6027;&#x3002;</p>
<ul>
<li>&#x5168;&#x5C40;&#x5C5E;&#x6027;&#xFF0C;&#x5982; undefined&#x3001;Infinity &#x548C; NaN;</li>
<li>&#x5168;&#x5C40;&#x51FD;&#x6570;&#xFF0C;&#x5982;&#xFF1A;isNaN()&#x3001;parseInt() &#x548C; eval();</li>
<li>&#x6784;&#x9020;&#x51FD;&#x6570;&#xFF0C;&#x5982;&#xFF1A;Date()&#x3001;RegExp()&#x3001;String()&#x3001;Object() &#x548C; Array()</li>
<li>&#x5168;&#x5C40;&#x5BF9;&#x8C61;&#xFF0C;&#x5982;&#xFF1A;Math &#x548C; JSON;</li>
</ul>
<h2 id="&#x5305;&#x88C5;&#x5BF9;&#x8C61;"><a href="#&#x5305;&#x88C5;&#x5BF9;&#x8C61;" class="headerlink" title="&#x5305;&#x88C5;&#x5BF9;&#x8C61;"></a>&#x5305;&#x88C5;&#x5BF9;&#x8C61;</h2><ul>
<li>String()</li>
<li>Number()</li>
<li>Boolean()</li>
</ul>
<p>&#x5B57;&#x7B26;&#x4E32;&#x5B57;&#x9762;&#x91CF;&#x3001;&#x6570;&#x5B57;&#x5B57;&#x9762;&#x91CF;&#x3001;&#x5E03;&#x5C14;&#x5B57;&#x9762;&#x91CF;&#x5747;&#x53EF;&#x4EE5;&#x4F7F;&#x7528;&#x201D;.&#x201D;&#x7B26;&#x53F7;&#x5F15;&#x7528;&#x5C5E;&#x6027;&#x503C;&#xFF0C;&#x5F53;&#x5C5E;&#x6027;&#x503C;&#x662F;&#x4E00;&#x4E2A;&#x51FD;&#x6570;&#x65F6;&#xFF0C;&#x79F0;&#x5176;&#x4E3A;&#x65B9;&#x6CD5;&#x3002;<br>&#x53EA;&#x6709;&#x5BF9;&#x8C61;&#x6709;&#x5C5E;&#x6027;&#xFF0C;JavaScript &#x5728;&#x521B;&#x5EFA;&#x5B57;&#x7B26;&#x4E32;&#x3001;&#x6570;&#x5B57;&#x3001;&#x5E03;&#x5C14;&#x503C;&#x65F6;&#x4F1A;&#x81EA;&#x52A8;&#x7684;&#x901A;&#x8FC7;&#x8C03;&#x7528; new String();<br>new Number(); new Boolean() &#x7684;&#x65B9;&#x5F0F;&#x8C03;&#x7528;&#x3002;</p>
<h2 id="RegExp-&#x5BF9;&#x8C61;"><a href="#RegExp-&#x5BF9;&#x8C61;" class="headerlink" title="RegExp &#x5BF9;&#x8C61;"></a>RegExp &#x5BF9;&#x8C61;</h2><p><code>var expression = /pattern/flags;</code></p>
<p>pattern &#x662F;&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#xFF0C;&#x53EF;&#x4EE5;&#x5305;&#x542B;&#x5B57;&#x7B26;&#x7C7B;&#xFF0C;&#x9650;&#x5B9A;&#x7B26;&#xFF0C;&#x5206;&#x7EC4;&#xFF0C;&#x5411;&#x524D;&#x67E5;&#x627E;&#x4EE5;&#x53CA;&#x53CD;&#x5411;&#x67E5;&#x627E;&#x3002;<br>flag&#x662F;&#x6807;&#x5FD7;&#xFF0C;&#x6709; 3 &#x79CD;&#xFF1A;</p>
<ul>
<li>g: &#x5168;&#x5C40;(global)&#x6A21;&#x5F0F;</li>
<li>i: &#x8868;&#x793A;&#x4E0D;&#x533A;&#x5206;&#x5927;&#x5C0F;&#x5199;</li>
<li>m: &#x8868;&#x793A;&#x591A;&#x884C;(multiline)&#x6A21;&#x5F0F;</li>
</ul>
<p>RegExp &#x6784;&#x9020;&#x51FD;&#x6570;&#x7684;&#x6A21;&#x5F0F;&#x53C2;&#x6570;&#x662F;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;&#x5728;&#x67D0;&#x4E9B;&#x60C5;&#x51B5;&#x4E0B;&#x9700;&#x8981;&#x53CC;&#x91CD;&#x8F6C;&#x4E49;&#xFF1B;</p>
<h3 id="RegExp-&#x5B9E;&#x4F8B;&#x5C5E;&#x6027;"><a href="#RegExp-&#x5B9E;&#x4F8B;&#x5C5E;&#x6027;" class="headerlink" title="RegExp &#x5B9E;&#x4F8B;&#x5C5E;&#x6027;"></a>RegExp &#x5B9E;&#x4F8B;&#x5C5E;&#x6027;</h3><ul>
<li>global &#x5E03;&#x5C14;&#x503C;&#xFF0C;&#x662F;&#x5426;&#x8BBE;&#x7F6E;&#x4E86; g &#x6807;&#x5FD7;</li>
<li>ignoreCase &#x5E03;&#x5C14;&#x503C;&#xFF0C;&#x662F;&#x5426;&#x8BBE;&#x7F6E;&#x4E86; i &#x6807;&#x5FD7;</li>
<li>lastIndex &#x6574;&#x6570;&#xFF0C;&#x8868;&#x793A;&#x5F00;&#x59CB;&#x641C;&#x7D22;&#x4E0B;&#x4E00;&#x4E2A;&#x5339;&#x914D;&#x9879;&#x7684;&#x5B57;&#x7B26;&#x4F4D;&#x7F6E;&#xFF0C;&#x4ECE; 0 &#x7B97;&#x8D77;</li>
<li>multiline &#x5E03;&#x5C14;&#x503C;&#xFF0C;&#x662F;&#x5426;&#x8BBE;&#x7F6E;&#x4E86; m &#x6807;&#x5FD7;</li>
<li>source &#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#x8868;&#x793A;&#xFF0C;&#x6309;&#x7167;&#x5B57;&#x9762;&#x91CF;&#x5F62;&#x5F0F;&#x800C;&#x975E;&#x4F20;&#x5165;&#x6784;&#x9020;&#x51FD;&#x6570;&#x4E2D;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#x6A21;&#x5F0F;&#x8FD4;&#x56DE;&#xFF1B;</li>
</ul>
<h3 id="RegExp-&#x5B9E;&#x4F8B;&#x65B9;&#x6CD5;"><a href="#RegExp-&#x5B9E;&#x4F8B;&#x65B9;&#x6CD5;" class="headerlink" title="RegExp &#x5B9E;&#x4F8B;&#x65B9;&#x6CD5;"></a>RegExp &#x5B9E;&#x4F8B;&#x65B9;&#x6CD5;</h3><ul>
<li>exec() &#xFF1B;<ul>
<li>&#x63A5;&#x6536;&#x4E00;&#x4E2A;&#x53C2;&#x6570;&#xFF0C;&#x8981;&#x5F15;&#x7528;&#x5339;&#x914D;&#x6A21;&#x5F0F;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;&#x8FD4;&#x56DE;&#x5305;&#x542B;&#x7B2C;&#x4E00;&#x4E2A;&#x5339;&#x914D;&#x9879;&#x4FE1;&#x606F;&#x7684;&#x6570;&#x7EC4;&#xFF1B;</li>
<li>&#x6CA1;&#x6709;&#x5339;&#x914D;&#x9879;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#x8FD4;&#x56DE; null </li>
<li>&#x8FD4;&#x56DE;&#x7684;&#x6570;&#x7EC4;&#x867D;&#x7136;&#x662F; Array &#x7684;&#x5B9E;&#x4F8B;&#xFF0C;&#x4F46;&#x5305;&#x542B;&#x4E24;&#x4E2A;&#x5C5E;&#x6027;&#xFF1A;index &#x548C; input<ul>
<li>index &#x8868;&#x793A;&#x5339;&#x914D;&#x9879;&#x5B50;&#x5728;&#x5B57;&#x7B26;&#x4E32;&#x4E2D;&#x7684;&#x4F4D;&#x7F6E;</li>
<li>input &#x8868;&#x793A;&#x5E94;&#x7528;&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x7684;&#x5B57;&#x7B26;&#x4E32;</li>
</ul>
</li>
<li>exec() &#x65B9;&#x6CD5;&#x5728;&#x8BBE;&#x7F6E;&#x4E86;&#x5168;&#x5C40;&#x6807;&#x5FD7;&#x7684;&#x60C5;&#x51B5;&#x4E0B;&#xFF0C;&#x6BCF;&#x6B21;&#x8C03;&#x7528;&#x8BE5;&#x65B9;&#x6CD5;&#x90FD;&#x4F1A;&#x5728;&#x5B57;&#x7B26;&#x4E32;&#x4E2D;&#x7EE7;&#x7EED;&#x67E5;&#x627E;&#x65B0;&#x5339;&#x914D;&#x9879;&#x3002;</li>
</ul>
</li>
</ul>
<figure class="highlight js"><table><tr><td class="gutter"><pre><div class="line">1</div><div class="line">2</div><div class="line">3</div><div class="line">4</div><div class="line">5</div><div class="line">6</div><div class="line">7</div><div class="line">8</div></pre></td><td class="code"><pre><div class="line"><span class="keyword">var</span> text = <span class="string">&quot;mom and dad and baby&quot;</span>;</div><div class="line"><span class="keyword">var</span> pattern = <span class="regexp">/mom( and dad( and baby)?)?/gi</span>;</div><div class="line"><span class="keyword">var</span> mataches = pattern.exec(text);</div><div class="line"><span class="built_in">console</span>.log(matches.index); <span class="comment">// 0</span></div><div class="line"><span class="built_in">console</span>.log(matches.input); <span class="comment">// &quot;mom and dad and baby&quot;</span></div><div class="line"><span class="built_in">console</span>.log(matches[<span class="number">0</span>]); <span class="comment">// &quot;mom and dad and baby&quot;</span></div><div class="line"><span class="built_in">console</span>.log(matches[<span class="number">1</span>]); <span class="comment">// &quot; and dad and baby&quot;</span></div><div class="line"><span class="built_in">console</span>.log(matches[<span class="number">2</span>]); <span class="comment">// &quot; and baby&quot;</span></div></pre></td></tr></table></figure>
<p>&#x603B;&#x4E4B;&#xFF1A;&#x6B63;&#x5219;&#x5206;&#x7EC4;&#x4E4B;&#x540E;&#x5339;&#x914D;&#x5230;&#x7684;&#x7ED3;&#x679C;&#x5982;&#x679C;&#x5339;&#x914D;&#x6210;&#x529F;&#x5219;&#x4F1A;&#x5F97;&#x5230;&#x6570;&#x7EC4;&#xFF0C;<br>&#x6570;&#x7EC4;&#x4E2D;&#x7B2C; 0 &#x9879;&#x662F;&#x4E0E;&#x6574;&#x4E2A;&#x6A21;&#x5F0F;&#x5339;&#x914D;&#x7684;&#x5B57;&#x7B26;&#x4E32;&#xFF0C;<br>&#x4ECE;&#x7B2C;&#x4E00;&#x9879;&#x5F00;&#x59CB;&#x5C31;&#x662F;&#x6570;&#x6B63;&#x5219;&#x8868;&#x8FBE;&#x5F0F;&#x4E2D;&#x7684;&#x5DE6;&#x62EC;&#x53F7;&#x5C31;&#x53EF;&#x4EE5;&#x4E86;&#xFF0C;<br>&#x5DE6;&#x62EC;&#x53F7;&#x662F;&#x7B2C;&#x51E0;&#x4E2A;&#xFF0C;&#x5219;&#x89E3;&#x6790;&#x51FA;&#x6765;&#x7684;&#x6570;&#x636E;&#x5C31;&#x662F;&#x6570;&#x7EC4;&#x4E2D;&#x4E0B;&#x6807;&#x4E3A;&#x8BE5;&#x6570;&#x5B57;&#x7684;&#x5143;&#x7D20;</p>

      
    </div>

    <div>
      
        

      
    </div>

    <div>
      
        
  <div style="padding: 10px 0; margin: 20px auto; width: 90%; text-align: center;">
    <div>坚持原创技术分享，您的支持将是我最大的鼓励！</div>
    <button id="rewardButton" disable="enable" onclick="var qr = document.getElementById('QR'); if (qr.style.display === 'none') {qr.style.display='block';} else {qr.style.display='none'}">
      <span>赏</span>
    </button>
    <div id="QR" style="display: none;">
      
        <div id="wechat" style="display: inline-block">
          <img id="wechat_qr" src="http://ofy7k3v4s.bkt.clouddn.com/wcpayCode.jpg" alt="Hongqin Ma WeChat Pay"/>
          <p>微信打赏</p>
        </div>
      
      
        <div id="alipay" style="display: inline-block">
          <img id="alipay_qr" src="http://ofy7k3v4s.bkt.clouddn.com/apayCode.jpg" alt="Hongqin Ma Alipay"/>
          <p>支付宝打赏</p>
        </div>
      
    </div>
  </div>


      
    </div>

    <footer class="post-footer">
      
        <div class="post-tags">
          
            <a href="/tags/js/" rel="tag">#js</a>
          
        </div>
      

      
        <div class="post-nav">
          <div class="post-nav-next post-nav-item">
            
              <a href="/2014/04/06/js语句/" rel="next" title="js语句">
                <i class="fa fa-chevron-left"></i> js语句
              </a>
            
          </div>

          <div class="post-nav-prev post-nav-item">
            
              <a href="/2014/05/02/js-的对象/" rel="prev" title="js 的对象">
                js 的对象 <i class="fa fa-chevron-right"></i>
              </a>
            
          </div>
        </div>
      

      
      
    </footer>
  </article>



    <div class="post-spread">
      
        <div class="ds-share flat" data-thread-key="2014/04/06/js-Date、Math、包装对象、RegExp/"
     data-title="js Date、Math、包装对象、RegExp"
     data-content=""
     data-url="https://hongqinma.github.io/2014/04/06/js-Date、Math、包装对象、RegExp/">
  <div class="ds-share-inline">
    <ul  class="ds-share-icons-16">

      <li data-toggle="ds-share-icons-more"><a class="ds-more" href="javascript:void(0);">分享到：</a></li>
      <li><a class="ds-weibo" href="javascript:void(0);" data-service="weibo">微博</a></li>
      <li><a class="ds-qzone" href="javascript:void(0);" data-service="qzone">QQ空间</a></li>
      <li><a class="ds-qqt" href="javascript:void(0);" data-service="qqt">腾讯微博</a></li>
      <li><a class="ds-wechat" href="javascript:void(0);" data-service="wechat">微信</a></li>

    </ul>
    <div class="ds-share-icons-more">
    </div>
  </div>
</div>
      
    </div>
  </div>


          </div>
          


          
  <div class="comments" id="comments">
    
      <div class="ds-thread" data-thread-key="2014/04/06/js-Date、Math、包装对象、RegExp/"
           data-title="js Date、Math、包装对象、RegExp" data-url="https://hongqinma.github.io/2014/04/06/js-Date、Math、包装对象、RegExp/">
      </div>
    
  </div>


        </div>
        
          
  
  <div class="sidebar-toggle">
    <div class="sidebar-toggle-line-wrap">
      <span class="sidebar-toggle-line sidebar-toggle-line-first"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-middle"></span>
      <span class="sidebar-toggle-line sidebar-toggle-line-last"></span>
    </div>
  </div>

  <aside id="sidebar" class="sidebar">
    <div class="sidebar-inner">

      

      
        <ul class="sidebar-nav motion-element">
          <li class="sidebar-nav-toc sidebar-nav-active" data-target="post-toc-wrap" >
            Table of Contents
          </li>
          <li class="sidebar-nav-overview" data-target="site-overview">
            Overview
          </li>
        </ul>
      

      <section class="site-overview sidebar-panel ">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="//schema.org/Person">
          <img class="site-author-image" itemprop="image"
               src="/images/photo.jpg"
               alt="Hongqin Ma" />
          <p class="site-author-name" itemprop="name">Hongqin Ma</p>
          <p class="site-description motion-element" itemprop="description">Spell at all costs， to rush you in the future. </p>
        </div>
        <nav class="site-state motion-element">
          <div class="site-state-item site-state-posts">
            <a href="/archives">
              <span class="site-state-item-count">20</span>
              <span class="site-state-item-name">posts</span>
            </a>
          </div>

          
            <div class="site-state-item site-state-categories">
              <a href="/categories">
                <span class="site-state-item-count">3</span>
                <span class="site-state-item-name">categories</span>
              </a>
            </div>
          

          
            <div class="site-state-item site-state-tags">
              <a href="/tags">
                <span class="site-state-item-count">13</span>
                <span class="site-state-item-name">tags</span>
              </a>
            </div>
          

        </nav>

        

        <div class="links-of-author motion-element">
          
            
              <span class="links-of-author-item">
                <a href="https://github.com/HongqinMa" target="_blank" title="GitHub">
                  
                    <i class="fa fa-fw fa-github"></i>
                  
                  GitHub
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://twitter.com/HongqinMa" target="_blank" title="Twitter">
                  
                    <i class="fa fa-fw fa-twitter"></i>
                  
                  Twitter
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="https://www.facebook.com/profile.php?id=100006581058735" target="_blank" title="Facebook">
                  
                    <i class="fa fa-fw fa-facebook"></i>
                  
                  Facebook
                </a>
              </span>
            
              <span class="links-of-author-item">
                <a href="http://www.zhihu.com/people/HirakuMa" target="_blank" title="知乎">
                  
                    <i class="fa fa-fw fa-share-alt"></i>
                  
                  知乎
                </a>
              </span>
            
          
        </div>

        
        

        
        
          <div class="links-of-blogroll motion-element links-of-blogroll-inline">
            <div class="links-of-blogroll-title">
              <i class="fa  fa-fw fa-globe"></i>
              Links
            </div>
            <ul class="links-of-blogroll-list">
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/rubylouvre/" title="司徒正美" target="_blank">司徒正美</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/sanshi/" title="三生石上" target="_blank">三生石上</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.cnblogs.com/TomXu/" title="汤姆大叔" target="_blank">汤姆大叔</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://gold.xitu.io/" title="掘金" target="_blank">掘金</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://segmentfault.com/" title="segmentfault" target="_blank">segmentfault</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="http://www.jianshu.com/users/1cbb94e5ed4d/latest_articles" title="简书" target="_blank">简书</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://home.cnblogs.com/" title="博客园" target="_blank">博客园</a>
                </li>
              
                <li class="links-of-blogroll-item">
                  <a href="https://www.awesomes.cn/" title="Awesomes" target="_blank">Awesomes</a>
                </li>
              
            </ul>
          </div>
        

      </section>

      
        <section class="post-toc-wrap motion-element sidebar-panel sidebar-panel-active">
          <div class="post-toc">
            
              
            
            
              <div class="post-toc-content"><ol class="nav"><li class="nav-item nav-level-2"><a class="nav-link" href="#javaScript的几个内置对象"><span class="nav-number">1.</span> <span class="nav-text">javaScript的几个内置对象</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Date对象"><span class="nav-number">2.</span> <span class="nav-text">Date对象</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#日期格式化方法"><span class="nav-number">2.1.</span> <span class="nav-text">日期格式化方法</span></a></li></ol></li><li class="nav-item nav-level-2"><a class="nav-link" href="#Math对象"><span class="nav-number">3.</span> <span class="nav-text">Math对象</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#全局对象"><span class="nav-number">4.</span> <span class="nav-text">全局对象</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#包装对象"><span class="nav-number">5.</span> <span class="nav-text">包装对象</span></a></li><li class="nav-item nav-level-2"><a class="nav-link" href="#RegExp-对象"><span class="nav-number">6.</span> <span class="nav-text">RegExp 对象</span></a><ol class="nav-child"><li class="nav-item nav-level-3"><a class="nav-link" href="#RegExp-实例属性"><span class="nav-number">6.1.</span> <span class="nav-text">RegExp 实例属性</span></a></li><li class="nav-item nav-level-3"><a class="nav-link" href="#RegExp-实例方法"><span class="nav-number">6.2.</span> <span class="nav-text">RegExp 实例方法</span></a></li></ol></li></ol></div>
            
          </div>
        </section>
      

    </div>
  </aside>


        
      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="footer-inner">
        <div class="copyright" >
  
  &copy; 
  <span itemprop="copyrightYear">2016</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Hongqin Ma</span>
</div>

<div class="powered-by">
  Powered by <a class="theme-link" href="https://hexo.io">Hexo</a>
</div>

<div class="theme-info">
  Theme -
  <a class="theme-link" href="https://github.com/iissnan/hexo-theme-next">
    NexT.Muse
  </a>
</div>

<script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>
<span id="busuanzi_container_site_pv">
    &nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;Page Views: <span id="busuanzi_value_site_pv"></span> 
</span>

        

<div class="busuanzi-count">

  <script async src="https://dn-lbstatics.qbox.me/busuanzi/2.3/busuanzi.pure.mini.js"></script>

  
    <span class="site-uv"><i class="fa fa-user"></i><span class="busuanzi-value" id="busuanzi_value_site_uv"></span></span>
  

  
    <span class="site-pv"><i class="fa fa-eye"></i><span class="busuanzi-value" id="busuanzi_value_site_pv"></span></span>
  
  
</div>



        
      </div>
    </footer>

    <div class="back-to-top">
      <i class="fa fa-arrow-up"></i>
    </div>
  </div>

  

<script type="text/javascript">
  if (Object.prototype.toString.call(window.Promise) !== '[object Function]') {
    window.Promise = null;
  }
</script>









  



  
  <script type="text/javascript" src="/lib/jquery/index.js?v=2.1.3"></script>

  
  <script type="text/javascript" src="/lib/fastclick/lib/fastclick.min.js?v=1.0.6"></script>

  
  <script type="text/javascript" src="/lib/jquery_lazyload/jquery.lazyload.js?v=1.9.7"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/velocity/velocity.ui.min.js?v=1.2.1"></script>

  
  <script type="text/javascript" src="/lib/fancybox/source/jquery.fancybox.pack.js?v=2.1.5"></script>


  


  <script type="text/javascript" src="/js/src/utils.js?v=5.0.2"></script>

  <script type="text/javascript" src="/js/src/motion.js?v=5.0.2"></script>



  
  

  
  <script type="text/javascript" src="/js/src/scrollspy.js?v=5.0.2"></script>
<script type="text/javascript" src="/js/src/post-details.js?v=5.0.2"></script>



  


  <script type="text/javascript" src="/js/src/bootstrap.js?v=5.0.2"></script>



  

  
    
  

  <script type="text/javascript">
    var duoshuoQuery = {short_name:"Hiraku"};
    (function() {
      var ds = document.createElement('script');
      ds.type = 'text/javascript';ds.async = true;
      ds.id = 'duoshuo-script';
      ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
      ds.charset = 'UTF-8';
      (document.getElementsByTagName('head')[0]
      || document.getElementsByTagName('body')[0]).appendChild(ds);
    })();
  </script>

  
    
    <script src="/lib/ua-parser-js/dist/ua-parser.min.js?v=0.7.9"></script>
    <script src="/js/src/hook-duoshuo.js"></script>
  






  
  

  

  

  
  <script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script>
  <script>AV.initialize("PPmoIQxeu8Sd21h6Tl9TthNx-gzGzoHsz", "rTvbY2H7DvWzRipiBwn72RQ4");</script>
  <script>
    function showTime(Counter) {
      var query = new AV.Query(Counter);
      var entries = [];
      var $visitors = $(".leancloud_visitors");

      $visitors.each(function () {
        entries.push( $(this).attr("id").trim() );
      });

      query.containedIn('url', entries);
      query.find()
        .done(function (results) {
          var COUNT_CONTAINER_REF = '.leancloud-visitors-count';

          if (results.length === 0) {
            $visitors.find(COUNT_CONTAINER_REF).text(0);
            return;
          }

          for (var i = 0; i < results.length; i++) {
            var item = results[i];
            var url = item.get('url');
            var time = item.get('time');
            var element = document.getElementById(url);

            $(element).find(COUNT_CONTAINER_REF).text(time);
          }
          for(var i = 0; i < entries.length; i++) {
            var url = entries[i];
            var element = document.getElementById(url);
            var countSpan = $(element).find(COUNT_CONTAINER_REF);
            if( countSpan.text() == '') {
              countSpan.text(0);
            }
          }
        })
        .fail(function (object, error) {
          console.log("Error: " + error.code + " " + error.message);
        });
    }

    function addCount(Counter) {
      var $visitors = $(".leancloud_visitors");
      var url = $visitors.attr('id').trim();
      var title = $visitors.attr('data-flag-title').trim();
      var query = new AV.Query(Counter);

      query.equalTo("url", url);
      query.find({
        success: function(results) {
          if (results.length > 0) {
            var counter = results[0];
            counter.fetchWhenSave(true);
            counter.increment("time");
            counter.save(null, {
              success: function(counter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(counter.get('time'));
              },
              error: function(counter, error) {
                console.log('Failed to save Visitor num, with error message: ' + error.message);
              }
            });
          } else {
            var newcounter = new Counter();
            /* Set ACL */
            var acl = new AV.ACL();
            acl.setPublicReadAccess(true);
            acl.setPublicWriteAccess(true);
            newcounter.setACL(acl);
            /* End Set ACL */
            newcounter.set("title", title);
            newcounter.set("url", url);
            newcounter.set("time", 1);
            newcounter.save(null, {
              success: function(newcounter) {
                var $element = $(document.getElementById(url));
                $element.find('.leancloud-visitors-count').text(newcounter.get('time'));
              },
              error: function(newcounter, error) {
                console.log('Failed to create');
              }
            });
          }
        },
        error: function(error) {
          console.log('Error:' + error.code + " " + error.message);
        }
      });
    }

    $(function() {
      var Counter = AV.Object.extend("Counter");
      if ($('.leancloud_visitors').length == 1) {
        addCount(Counter);
      } else if ($('.post-title-link').length > 1) {
        showTime(Counter);
      }
    });
  </script>



  

  

  
  
  <!-- custom analytics part create by xiamo -->
<script src="https://cdn1.lncld.net/static/js/av-core-mini-0.6.1.js"></script>
<script>AV.initialize("PPmoIQxeu8Sd21h6Tl9TthNx-gzGzoHsz", "rTvbY2H7DvWzRipiBwn72RQ4");</script>
<script>
function showTime(Counter) {
  var query = new AV.Query(Counter);
  $(".leancloud_visitors").each(function() {
    var url = $(this).attr("id").trim();
    query.equalTo("url", url);
    query.find({
      success: function(results) {
        if (results.length == 0) {
          var content = '0 ' + $(document.getElementById(url)).text();
          $(document.getElementById(url)).text(content);
          return;
        }
        for (var i = 0; i < results.length; i++) {
          var object = results[i];
          var content = object.get('time') + ' ' + $(document.getElementById(url)).text();
          $(document.getElementById(url)).text(content);
        }
      },
      error: function(object, error) {
        console.log("Error: " + error.code + " " + error.message);
      }
    });

  });
}

function addCount(Counter) {
  var Counter = AV.Object.extend("Counter");
  url = $(".leancloud_visitors").attr('id').trim();
  title = $(".leancloud_visitors").attr('data-flag-title').trim();
  var query = new AV.Query(Counter);
  query.equalTo("url", url);
  query.find({
    success: function(results) {
      if (results.length > 0) {
        var counter = results[0];
        counter.fetchWhenSave(true);
        counter.increment("time");
        counter.save(null, {
          success: function(counter) {
            var content =  counter.get('time') + ' ' + $(document.getElementById(url)).text();
            $(document.getElementById(url)).text(content);
          },
          error: function(counter, error) {
            console.log('Failed to save Visitor num, with error message: ' + error.message);
          }
        });
      } else {
        var newcounter = new Counter();
        newcounter.set("title", title);
        newcounter.set("url", url);
        newcounter.set("time", 1);
        newcounter.save(null, {
          success: function(newcounter) {
              console.log("newcounter.get('time')="+newcounter.get('time'));
            var content = newcounter.get('time') + ' ' + $(document.getElementById(url)).text();
            $(document.getElementById(url)).text(content);
          },
          error: function(newcounter, error) {
            console.log('Failed to create');
          }
        });
      }
    },
    error: function(error) {
      console.log('Error:' + error.code + " " + error.message);
    }
  });
}
$(function() {
  var Counter = AV.Object.extend("Counter");
  if ($('.leancloud_visitors').length == 1) {
    addCount(Counter);
  } else if ($('.post-title-link').length > 1) {
    showTime(Counter);
  }
}); 
</script>

  
</body>
</html>
